#include "heap.h"

void test1()
{
	HP hp;
	HeapInit(&hp);
	HeapPush(&hp, 36);
	HeapPush(&hp, 32);
	HeapPush(&hp, 33);
	HeapPush(&hp, 255);
	HeapPush(&hp, 44);
	HeapPush(&hp, 8);
	HeapPush(&hp, 333);
	HeapPush(&hp, 200);
	HeapPush(&hp, 2);
	HeapPush(&hp, 5);
	while (!HeapEmpty(&hp))
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	printf("\n");
}
int main()
{
	test1();

}